﻿using Orchard.UI.Resources;

namespace SoNerdy.Player {
    public class ResourceManifest : IResourceManifestProvider {
        public void BuildManifests(ResourceManifestBuilder builder) {
            builder.Add().DefineStyle("jplayer").SetUrl("jplayer.blue.monday.css");
            builder.Add().DefineScript("jplayer").SetUrl("jquery.jplayer.min.js").SetDependencies("jQuery");
            builder.Add().DefineScript("jplayer-playlist").SetUrl("add-on/jplayer.playlist.min.js").SetDependencies("jPlayer");
            builder.Add().DefineScript("ko-widget-binding").SetUrl("ko-widget-binding.js").SetDependencies("ko");
        }
    }
}
